package com.lsl.abstract_factory.example.ConcreteFactory;

import com.lsl.abstract_factory.example.AbstractFactory.SkinFactory;
import com.lsl.abstract_factory.example.AbstractProduct.Button;
import com.lsl.abstract_factory.example.AbstractProduct.ComboBox;
import com.lsl.abstract_factory.example.AbstractProduct.TextField;
import com.lsl.abstract_factory.example.ConcreteProduct.button.SummerButton;
import com.lsl.abstract_factory.example.ConcreteProduct.combobox.SummerComboBox;
import com.lsl.abstract_factory.example.ConcreteProduct.textfield.SummerTextField;


/**
 * description:Summer皮肤工厂：具体工厂
 *
 * @author: liushengli
 * data: 2022/12/14
 */
public class SummerSkinFactory implements SkinFactory {
    @Override
    public Button createButton() {
        return new SummerButton();
    }

    @Override
    public TextField createTextField() {
        return new SummerTextField();
    }

    @Override
    public ComboBox createComboBox() {
        return new SummerComboBox();
    }
}
